package cn.hxzy.kaoshi.mapper;

import cn.hxzy.kaoshi.entity.SysExamResults;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 考试成绩记录表 Mapper 接口
 * </p>
 *
 * @author tyqw
 * @since 2024-12-13
 */
@Service
public interface SysExamResultsMapper extends BaseMapper<SysExamResults> {
    //查询个人全部考试成绩
    @MapKey("user_id")
    List<Map> findAllExamResults(Long userId,Integer usertype);

}
